<div class="fields-block">
	
        <h3><?php echo __l('Disk Usage'); ?></h3>
        <div class="disk-usage">
            <span ><?php echo $this->Html->link(__l('clear cache'), array('controller' => 'devs', 'action' => 'clear_cache', '?f=' . $this->request->url), array('title' => __l('clear cache'), 'class' => 'js-delete'));  ?>.</span>
          <dl class="list error-list clearfix">
                <dt class="altrow"><?php echo __l('Used Cache Memory');?></dt>
		  			<dd class="altrow"><?php echo $tmpCacheFileSize; ?></dd>
                <dt><?php echo __l('Used Log Memory');?></dt>
		  			<dd><?php echo $tmpLogsFileSize; ?></dd>
            </dl>
	</div>

		<h3><?php echo __l('Recent Errors & Logs'); ?></h3>
		<div class="disk-usage">
			<h2><?php echo __l('Error Log')?></h2>
			<?php
				echo $this->Html->link(__l('Clear Error Log'), array('controller' => 'users', 'action' => 'admin_clear_logs', 'type' => 'error_log'));
			?>
			<div><textarea rows="15" cols="80"><?php echo $error_log;?></textarea></div>
        </div>
			
			<h3><?php echo __l('Debug Log')?></h3>
		<div class="disk-usage">	<?php
			echo $this->Html->link(__l('Clear Debug Log'), array('controller' => 'users', 'action' => 'admin_clear_logs', 'type' => 'debug_log'));
			?>
			<div><textarea rows="15" cols="80"><?php echo $debug_log;?></textarea></div>
            </div>

</div>